package Private;

import jdk.swing.interop.SwingInterOpUtils;

public interface InterfacePrivate {
    //默认方法
    void m();
    default void defualtM1(){
        PrivateM();
        System.out.println("默认方法一 ");
    }
    default void defualtM2(){
        PrivateM();
        System.out.println("默认方法二");
    }
    private void PrivateM(){
        System.out.println("AAAAA");
        System.out.println("BBBBB");
        System.out.println("CCCCC");
    }
    //静态方法
    static  void StaticM1(){
        privateStaticM();
        System.out.println("静态方法一");
    }
    static  void StaticM2(){
        privateStaticM();
        System.out.println("静态方法二");
    }
    private static void privateStaticM(){
        System.out.println("AAAAA");
        System.out.println("BBBBB");
        System.out.println("CCCCC");
    }
}
